package com.ttc.ssm.mapper.admin;

import com.ttc.ssm.common.CompanyPage;
import com.ttc.ssm.po.Job;

import java.util.List;
import java.util.Map;

/**
 * Created by Jiarui on 2016/7/29.
 */
public interface JobMapper {
    List<Job> selectJobForPage(CompanyPage page);
    void deleteJobs(Map<String,Object> map) throws Exception;
    void updateJobStatus(int job_id,int status,String date) throws Exception;
    int countRows(CompanyPage companyPage) throws Exception;
    Job selectJobById(int job_id) throws Exception;
    void updateJob(Job job) throws Exception;
    int countJob() throws Exception;
    int countConfirmingJob(int status) throws  Exception;
    int insertJob(Job job) throws Exception;

}
